package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsSolvetaskDetail extends Model<PsSolvetaskDetail> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("TASKID")
    private PsSolvetaskMain psSolvetaskMain;

    @TableField("INSPECTIONTASKDELID")
    private String inspectiontaskdelid;

    @TableField("SOLVERCODE")
    private String solvercode;

    @TableField("SOLVERNAME")
    private String solvername;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    

    public PsSolvetaskMain getPsSolvetaskMain() {
		return psSolvetaskMain;
	}

	public void setPsSolvetaskMain(PsSolvetaskMain psSolvetaskMain) {
		this.psSolvetaskMain = psSolvetaskMain;
	}

	public String getInspectiontaskdelid() {
        return inspectiontaskdelid;
    }

    public void setInspectiontaskdelid(String inspectiontaskdelid) {
        this.inspectiontaskdelid = inspectiontaskdelid;
    }

    public String getSolvercode() {
        return solvercode;
    }

    public void setSolvercode(String solvercode) {
        this.solvercode = solvercode;
    }

    public String getSolvername() {
        return solvername;
    }

    public void setSolvername(String solvername) {
        this.solvername = solvername;
    }

    public LocalDateTime getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(LocalDateTime creationtime) {
        this.creationtime = creationtime;
    }

    public String getCreatedby() {
        return createdby;
    }

    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    public LocalDateTime getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(LocalDateTime lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsSolvetaskDetail{" +
        "id=" + id +
        ", taskid=" + psSolvetaskMain.getId() +
        ", inspectiontaskdelid=" + inspectiontaskdelid +
        ", solvercode=" + solvercode +
        ", solvername=" + solvername +
        ", creationtime=" + creationtime +
        ", createdby=" + createdby +
        ", lastupdatetime=" + lastupdatetime +
        "}";
    }
}
